#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "engctrlpanel.h"
#include "attitudepanel.h"
#include "engrpmpanel.h"
#include "taxipanel.h"
#include "actorpanel.h"
#include "histobottom.h"
#include "histomiddle.h"
#include <QTimer>
#include <QDebug>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    void resizeEvent(QResizeEvent *event);


private:
    Ui::MainWindow *ui;
    EngCtrlPanel *eng;
    AttitudePanel *att;
    EngRPMPanel *rpm;
    TaxiPanel *taxi;
    ActorPanel *act;
    QTimer *timer;
    HistoBottom *hist;
    HistoMiddle *his2;

private slots:
    void on_timeout();

};

#endif // MAINWINDOW_H
